Objectiv\Plugins\Checkout\Compatibility\Gateways\AmazonPayLegacy A

Total Complexity 53
Dependencies 5
Dependents 0
Total lines 365
Lines of code 219
Logical lines of code 118
Comment lines 80
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
normalize_address()
S
54 7 21
store_shipping_info_in_session()
S
55 6 19
checkout_init()
S
55 5 18
is_available()
S
60 5 13
is_logged_in()
S
62 4 11
start()
S
58 3 15
set_customer_info()
S
64 4 8
pre_init()
S
57 2 18
runtime_styles()
S
64 2 16
get_gateway()
S
72 2 6
remove_banners()
S
65 2 9
queue_widgets()
S
65 2 9
disable_refresh()
S
69 2 7
protect_shipping_fields()
S
73 1 13
shim_email_field()
S
68 1 7
address_widget()
S
69 1 7
payment_widget()
S
69 1 7
output_shim_divs_open()
S
82 1 3
output_shim_divs_close()
S
82 1 3
typescript_class_and_params()
S
66 1 9